#!/bin/bash
# ----- Help Links
# https://askubuntu.com/questions/1036297/cant-start-kvm-guest-network-default-is-not-active
# https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/virsh-failed-to-start-network-default-4175672429/
# https://wiki.archlinux.org/title/Dnsmasq

# ----- Errors
#error: Failed to start network default
#error: Unable to find 'dnsmasq' binary in $PATH: No such file or directory

# ----- Needed Pakage
# sudo pacman -S dnsmasq

# ----- Commands
# check net
sudo virsh net-list --all
# if need define new file
# virsh net-define /etc/libvirt/qemu/networks/default.xml
virsh net-autostart default
virsh net-start default
